package com.example.multilevelapprovalback.service;
import com.example.multilevelapprovalback.pojo.ApprovalRecord;
import java.util.List;

public interface ApprovalRecordService {
    /**
     * 新增审批记录
     * @param approvalRecord
     */
    void add(ApprovalRecord approvalRecord);
    /**
     * 新增多条审批记录
     * @param approvalRecord
     */
    void addBatch(ApprovalRecord approvalRecord);

    /**
     * 根据成果id查询审批记录
     * @return
     */
    List<ApprovalRecord> get(String achievementId);
}
